/*
初始化mysql连接
*/ 
#include <mysql/mysql.h>

int init_mysql(char *host_name, char *user_name, char *passwd, char *db_name, unsigned int db_port);
int deinit_mysql();

int add_thinfo(char *devId, char *temp, char *humi, char *timeStamp, char *rpt_ip);


int list_thinfo();

void print_mysql_error(const char *msg);


